Request IB:

{
 "EndUserIp": "103.53.43.82",
  "TokenId": "**********************************",
  "PNR": "*******",
            "BookingId": *******
}
    
	
	Response IB:
	
	{
    "Response": {
        "Error": {
            "ErrorCode": 0,
            "ErrorMessage": ""
        },
        "ResponseStatus": 1,
        "TraceId": "**********************************",
        "FlightItinerary": {
            "AgentRemarks": "",
            "IssuancePcc": "APITESTID",
            "TripIndicator": 2,
            "BookingAllowedForRoamer": true,
            "BookingId": *******,
            "ParentBookingId": *******,
            "IsCouponAppilcable": true,
            "IsManual": false,
            "PNR": "*******",
            "IsDomestic": true,
            "Source": 3,
            "Origin": "DEL",
            "Destination": "AMD",
            "AirlineCode": "SG",
            "LastTicketDate": "9999-12-31T00:00:00",
            "ValidatingAirlineCode": "SG",
            "AirlineRemark": "",
            "AirlineTollFreeNo": "9876543210",
            "IsLCC": true,
            "NonRefundable": false,
            "FareType": "PUB",
            "CreditNoteNo": null,
            "Fare": {
                "Currency": "INR",
                "BaseFare": 5200,
                "Tax": 2024,
                "TaxBreakup": [
                    {
                        "key": "PSF",
                        "value": 364
                    },
                    {
                        "key": "YR",
                        "value": 260
                    },
                    {
                        "key": "OtherTaxes",
                        "value": 908
                    },
                    {
                        "key": "K3",
                        "value": 292
                    },
                    {
                        "key": "TotalTax",
                        "value": 2024
                    }
                ],
                "YQTax": 0,
                "AdditionalTxnFeeOfrd": 0,
                "AdditionalTxnFeePub": 0,
                "PGCharge": 0,
                "OtherCharges": 7.08,
                "ChargeBU": [
                    {
                        "key": "TBOMARKUP",
                        "value": 0
                    },
                    {
                        "key": "OTHERCHARGE",
                        "value": 7.08
                    },
                    {
                        "key": "CONVENIENCECHARGE",
                        "value": 0
                    }
                ],
                "Discount": 0,
                "PublishedFare": 16231.08,
                "CommissionEarned": 105.76,
                "PLBEarned": 65.08,
                "IncentiveEarned": 66.2,
                "OfferedFare": 15994.04,
                "TdsOnCommission": 42.32,
                "TdsOnPLB": 26.04,
                "TdsOnIncentive": 26.48,
                "ServiceFee": 0,
                "TotalBaggageCharges": 7600,
                "TotalMealCharges": 1400,
                "TotalSeatCharges": 0,
                "TotalSpecialServiceCharges": 0
            },
            "CreditNoteCreatedOn": null,
            "Passenger": [
                {
                    "PaxId": 2530908,
                    "Title": "Mr",
                    "FirstName": "sample",
                    "LastName": "adult",
                    "PaxType": 1,
                    "DateOfBirth": "1987-12-06T00:00:00",
                    "Gender": 1,
                    "IsPANRequired": false,
                    "IsPassportRequired": false,
                    "PAN": "",
                    "PassportNo": "",
                    "AddressLine1": "Delhi",
                    "Fare": {
                        "Currency": "INR",
                        "BaseFare": 1000,
                        "Tax": 491,
                        "TaxBreakup": [
                            {
                                "key": "K3",
                                "value": 58
                            },
                            {
                                "key": "PSF",
                                "value": 91
                            },
                            {
                                "key": "YR",
                                "value": 65
                            },
                            {
                                "key": "OtherTaxes",
                                "value": 227
                            },
                            {
                                "key": "TotalTax",
                                "value": 491
                            }
                        ],
                        "YQTax": 0,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "OtherCharges": 1.77,
                        "ChargeBU": [
                            {
                                "key": "TBOMARKUP",
                                "value": 0
                            },
                            {
                                "key": "OTHERCHARGE",
                                "value": 1.77
                            },
                            {
                                "key": "CONVENIENCECHARGE",
                                "value": 0
                            }
                        ],
                        "Discount": 0,
                        "PublishedFare": 3742.77,
                        "CommissionEarned": 26.44,
                        "PLBEarned": 16.27,
                        "IncentiveEarned": 16.55,
                        "OfferedFare": 3683.51,
                        "TdsOnCommission": 10.58,
                        "TdsOnPLB": 6.51,
                        "TdsOnIncentive": 6.62,
                        "ServiceFee": 0,
                        "TotalBaggageCharges": 1900,
                        "TotalMealCharges": 350,
                        "TotalSeatCharges": 0,
                        "TotalSpecialServiceCharges": 0
                    },
                    "City": "Delhi",
                    "CountryCode": "IN",
                    "Nationality": "IN",
                    "ContactNo": "9696969696",
                    "Email": "test@gmail.com",
                    "IsLeadPax": true,
                    "FFAirlineCode": null,
                    "FFNumber": null,
                    "Baggage": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "EB05",
                            "Description": 2,
                            "Weight": 5,
                            "Currency": "INR",
                            "Price": 1900,
                            "Origin": "DEL",
                            "Destination": "AMD",
                            "Text": ""
                        }
                    ],
                    "MealDynamic": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "GFCM",
                            "Description": 2,
                            "AirlineDescription": "Vegetarian Gluten-free Cold Meal (Dhokla)",
                            "Quantity": 1,
                            "Currency": "INR",
                            "Price": 350,
                            "Origin": "DEL",
                            "Destination": "AMD"
                        }
                    ],
                    "Ssr": [],
                    "Ticket": {
                        "TicketId": XXXXXX,
                        "TicketNumber": "*******",
                        "IssueDate": "2020-04-13T19:11:17",
                        "ValidatingAirline": "001",
                        "Remarks": "",
                        "ServiceFeeDisplayType": "ShowInTax",
                        "Status": "OK",
                        "ConjunctionNumber": "     ",
                        "TicketType": "N"
                    },
                    "SegmentAdditionalInfo": [
                        {
                            "FareBasis": "USAVER",
                            "NVA": "",
                            "NVB": "",
                            "Baggage": "15 KG|5",
                            "Meal": "1 Platter",
                            "Seat": "",
                            "SpecialService": ""
                        }
                    ]
                },
                {
                    "PaxId": 2530909,
                    "Title": "Mr",
                    "FirstName": "test",
                    "LastName": "adult",
                    "PaxType": 1,
                    "DateOfBirth": "1995-02-08T00:00:00",
                    "Gender": 1,
                    "IsPANRequired": false,
                    "IsPassportRequired": false,
                    "PAN": "",
                    "PassportNo": "",
                    "Fare": {
                        "Currency": "INR",
                        "BaseFare": 1000,
                        "Tax": 491,
                        "TaxBreakup": [
                            {
                                "key": "K3",
                                "value": 58
                            },
                            {
                                "key": "PSF",
                                "value": 91
                            },
                            {
                                "key": "YR",
                                "value": 65
                            },
                            {
                                "key": "OtherTaxes",
                                "value": 227
                            },
                            {
                                "key": "TotalTax",
                                "value": 491
                            }
                        ],
                        "YQTax": 0,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "OtherCharges": 1.77,
                        "ChargeBU": [
                            {
                                "key": "TBOMARKUP",
                                "value": 0
                            },
                            {
                                "key": "OTHERCHARGE",
                                "value": 1.77
                            },
                            {
                                "key": "CONVENIENCECHARGE",
                                "value": 0
                            }
                        ],
                        "Discount": 0,
                        "PublishedFare": 3742.77,
                        "CommissionEarned": 26.44,
                        "PLBEarned": 16.27,
                        "IncentiveEarned": 16.55,
                        "OfferedFare": 3683.51,
                        "TdsOnCommission": 10.58,
                        "TdsOnPLB": 6.51,
                        "TdsOnIncentive": 6.62,
                        "ServiceFee": 0,
                        "TotalBaggageCharges": 1900,
                        "TotalMealCharges": 350,
                        "TotalSeatCharges": 0,
                        "TotalSpecialServiceCharges": 0
                    },
                    "CountryCode": "IN",
                    "Nationality": "IN",
                    "IsLeadPax": false,
                    "FFAirlineCode": null,
                    "FFNumber": null,
                    "Baggage": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "EB05",
                            "Description": 2,
                            "Weight": 5,
                            "Currency": "INR",
                            "Price": 1900,
                            "Origin": "DEL",
                            "Destination": "AMD",
                            "Text": ""
                        }
                    ],
                    "MealDynamic": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "GFCM",
                            "Description": 2,
                            "AirlineDescription": "Vegetarian Gluten-free Cold Meal (Dhokla)",
                            "Quantity": 1,
                            "Currency": "INR",
                            "Price": 350,
                            "Origin": "DEL",
                            "Destination": "AMD"
                        }
                    ],
                    "Ssr": [],
                    "Ticket": {
                        "TicketId": XXXXXX,
                        "TicketNumber": "*******",
                        "IssueDate": "2020-04-13T19:11:18",
                        "ValidatingAirline": "001",
                        "Remarks": "",
                        "ServiceFeeDisplayType": "ShowInTax",
                        "Status": "OK",
                        "ConjunctionNumber": "     ",
                        "TicketType": "N"
                    },
                    "SegmentAdditionalInfo": [
                        {
                            "FareBasis": "USAVER",
                            "NVA": "",
                            "NVB": "",
                            "Baggage": "15 KG|5",
                            "Meal": "1 Platter",
                            "Seat": "",
                            "SpecialService": ""
                        }
                    ]
                },
                {
                    "PaxId": 2530910,
                    "Title": "Mstr",
                    "FirstName": "test",
                    "LastName": "child",
                    "PaxType": 2,
                    "DateOfBirth": "2010-03-06T00:00:00",
                    "Gender": 1,
                    "IsPANRequired": false,
                    "IsPassportRequired": false,
                    "PAN": "",
                    "PassportNo": "",
                    "Fare": {
                        "Currency": "INR",
                        "BaseFare": 1000,
                        "Tax": 491,
                        "TaxBreakup": [
                            {
                                "key": "K3",
                                "value": 58
                            },
                            {
                                "key": "PSF",
                                "value": 91
                            },
                            {
                                "key": "YR",
                                "value": 65
                            },
                            {
                                "key": "OtherTaxes",
                                "value": 227
                            },
                            {
                                "key": "TotalTax",
                                "value": 491
                            }
                        ],
                        "YQTax": 0,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "OtherCharges": 1.77,
                        "ChargeBU": [
                            {
                                "key": "TBOMARKUP",
                                "value": 0
                            },
                            {
                                "key": "OTHERCHARGE",
                                "value": 1.77
                            },
                            {
                                "key": "CONVENIENCECHARGE",
                                "value": 0
                            }
                        ],
                        "Discount": 0,
                        "PublishedFare": 3742.77,
                        "CommissionEarned": 26.44,
                        "PLBEarned": 16.27,
                        "IncentiveEarned": 16.55,
                        "OfferedFare": 3683.51,
                        "TdsOnCommission": 10.58,
                        "TdsOnPLB": 6.51,
                        "TdsOnIncentive": 6.62,
                        "ServiceFee": 0,
                        "TotalBaggageCharges": 1900,
                        "TotalMealCharges": 350,
                        "TotalSeatCharges": 0,
                        "TotalSpecialServiceCharges": 0
                    },
                    "CountryCode": "IN",
                    "Nationality": "IN",
                    "IsLeadPax": false,
                    "FFAirlineCode": null,
                    "FFNumber": null,
                    "Baggage": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "EB05",
                            "Description": 2,
                            "Weight": 5,
                            "Currency": "INR",
                            "Price": 1900,
                            "Origin": "DEL",
                            "Destination": "AMD",
                            "Text": ""
                        }
                    ],
                    "MealDynamic": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "GFCM",
                            "Description": 2,
                            "AirlineDescription": "Vegetarian Gluten-free Cold Meal (Dhokla)",
                            "Quantity": 1,
                            "Currency": "INR",
                            "Price": 350,
                            "Origin": "DEL",
                            "Destination": "AMD"
                        }
                    ],
                    "Ssr": [
                        {
                            "Detail": "06/03/2010",
                            "SsrCode": "CHLD",
                            "SsrStatus": null,
                            "Status": 1
                        }
                    ],
                    "Ticket": {
                        "TicketId": XXXXXX,
                        "TicketNumber": "*******",
                        "IssueDate": "2020-04-13T19:11:18",
                        "ValidatingAirline": "001",
                        "Remarks": "",
                        "ServiceFeeDisplayType": "ShowInTax",
                        "Status": "OK",
                        "ConjunctionNumber": "     ",
                        "TicketType": "N"
                    },
                    "SegmentAdditionalInfo": [
                        {
                            "FareBasis": "USAVER",
                            "NVA": "",
                            "NVB": "",
                            "Baggage": "15 KG|5",
                            "Meal": "1 Platter",
                            "Seat": "",
                            "SpecialService": ""
                        }
                    ]
                },
                {
                    "PaxId": 2530911,
                    "Title": "Mstr",
                    "FirstName": "sample",
                    "LastName": "child",
                    "PaxType": 2,
                    "DateOfBirth": "2009-05-15T00:00:00",
                    "Gender": 1,
                    "IsPANRequired": false,
                    "IsPassportRequired": false,
                    "PAN": "",
                    "PassportNo": "",
                    "Fare": {
                        "Currency": "INR",
                        "BaseFare": 1000,
                        "Tax": 491,
                        "TaxBreakup": [
                            {
                                "key": "K3",
                                "value": 58
                            },
                            {
                                "key": "PSF",
                                "value": 91
                            },
                            {
                                "key": "YR",
                                "value": 65
                            },
                            {
                                "key": "OtherTaxes",
                                "value": 227
                            },
                            {
                                "key": "TotalTax",
                                "value": 491
                            }
                        ],
                        "YQTax": 0,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "OtherCharges": 1.77,
                        "ChargeBU": [
                            {
                                "key": "TBOMARKUP",
                                "value": 0
                            },
                            {
                                "key": "OTHERCHARGE",
                                "value": 1.77
                            },
                            {
                                "key": "CONVENIENCECHARGE",
                                "value": 0
                            }
                        ],
                        "Discount": 0,
                        "PublishedFare": 3742.77,
                        "CommissionEarned": 26.44,
                        "PLBEarned": 16.27,
                        "IncentiveEarned": 16.55,
                        "OfferedFare": 3683.51,
                        "TdsOnCommission": 10.58,
                        "TdsOnPLB": 6.51,
                        "TdsOnIncentive": 6.62,
                        "ServiceFee": 0,
                        "TotalBaggageCharges": 1900,
                        "TotalMealCharges": 350,
                        "TotalSeatCharges": 0,
                        "TotalSpecialServiceCharges": 0
                    },
                    "CountryCode": "IN",
                    "Nationality": "IN",
                    "IsLeadPax": false,
                    "FFAirlineCode": null,
                    "FFNumber": null,
                    "Baggage": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "EB05",
                            "Description": 2,
                            "Weight": 5,
                            "Currency": "INR",
                            "Price": 1900,
                            "Origin": "DEL",
                            "Destination": "AMD",
                            "Text": ""
                        }
                    ],
                    "MealDynamic": [
                        {
                            "AirlineCode": "SG",
                            "FlightNumber": "8913",
                            "WayType": 2,
                            "Code": "GFCM",
                            "Description": 2,
                            "AirlineDescription": "Vegetarian Gluten-free Cold Meal (Dhokla)",
                            "Quantity": 1,
                            "Currency": "INR",
                            "Price": 350,
                            "Origin": "DEL",
                            "Destination": "AMD"
                        }
                    ],
                    "Ssr": [
                        {
                            "Detail": "15/05/2009",
                            "SsrCode": "CHLD",
                            "SsrStatus": null,
                            "Status": 1
                        }
                    ],
                    "Ticket": {
                        "TicketId": XXXXXX,
                        "TicketNumber": "*******",
                        "IssueDate": "2020-04-13T19:11:19",
                        "ValidatingAirline": "001",
                        "Remarks": "",
                        "ServiceFeeDisplayType": "ShowInTax",
                        "Status": "OK",
                        "ConjunctionNumber": "     ",
                        "TicketType": "N"
                    },
                    "SegmentAdditionalInfo": [
                        {
                            "FareBasis": "USAVER",
                            "NVA": "",
                            "NVB": "",
                            "Baggage": "15 KG|5",
                            "Meal": "1 Platter",
                            "Seat": "",
                            "SpecialService": ""
                        }
                    ]
                },
                {
                    "PaxId": 2530912,
                    "Title": "Mstr",
                    "FirstName": "test",
                    "LastName": "infant",
                    "PaxType": 3,
                    "DateOfBirth": "2019-08-16T00:00:00",
                    "Gender": 1,
                    "IsPANRequired": false,
                    "IsPassportRequired": false,
                    "PAN": "",
                    "PassportNo": "",
                    "Fare": {
                        "Currency": "INR",
                        "BaseFare": 1200,
                        "Tax": 60,
                        "TaxBreakup": [
                            {
                                "key": "K3",
                                "value": 60
                            },
                            {
                                "key": "TotalTax",
                                "value": 60
                            }
                        ],
                        "YQTax": 0,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "OtherCharges": 0,
                        "ChargeBU": [
                            {
                                "key": "TBOMARKUP",
                                "value": 0
                            },
                            {
                                "key": "OTHERCHARGE",
                                "value": 0
                            },
                            {
                                "key": "CONVENIENCECHARGE",
                                "value": 0
                            }
                        ],
                        "Discount": 0,
                        "PublishedFare": 1260,
                        "CommissionEarned": 0,
                        "PLBEarned": 0,
                        "IncentiveEarned": 0,
                        "OfferedFare": 1260,
                        "TdsOnCommission": 0,
                        "TdsOnPLB": 0,
                        "TdsOnIncentive": 0,
                        "ServiceFee": 0,
                        "TotalBaggageCharges": 0,
                        "TotalMealCharges": 0,
                        "TotalSeatCharges": 0,
                        "TotalSpecialServiceCharges": 0
                    },
                    "CountryCode": "IN",
                    "Nationality": "IN",
                    "IsLeadPax": false,
                    "FFAirlineCode": null,
                    "FFNumber": null,
                    "Ssr": [
                        {
                            "Detail": "16/08/2019",
                            "SsrCode": "INFT",
                            "SsrStatus": null,
                            "Status": 1
                        }
                    ],
                    "Ticket": {
                        "TicketId": XXXXXX,
                        "TicketNumber": "*******",
                        "IssueDate": "2020-04-13T19:11:19",
                        "ValidatingAirline": "001",
                        "Remarks": "",
                        "ServiceFeeDisplayType": "ShowInTax",
                        "Status": "OK",
                        "ConjunctionNumber": "     ",
                        "TicketType": "N"
                    },
                    "SegmentAdditionalInfo": [
                        {
                            "FareBasis": "USAVER",
                            "NVA": "",
                            "NVB": "",
                            "Baggage": "0 Kg",
                            "Meal": "0 Platter",
                            "Seat": "",
                            "SpecialService": ""
                        }
                    ]
                }
            ],
            "CancellationCharges": null,
            "Segments": [
                {
                    "Baggage": null,
                    "CabinBaggage": null,
                    "CabinClass": 2,
                    "TripIndicator": 1,
                    "SegmentIndicator": 1,
                    "Airline": {
                        "AirlineCode": "SG",
                        "AirlineName": "SpiceJet",
                        "FlightNumber": "8913",
                        "FareClass": "U",
                        "OperatingCarrier": ""
                    },
                    "AirlinePNR": "",
                    "Origin": {
                        "Airport": {
                            "AirportCode": "DEL",
                            "AirportName": "Indira Gandhi Airport",
                            "Terminal": "3",
                            "CityCode": "DEL",
                            "CityName": "Delhi",
                            "CountryCode": "IN",
                            "CountryName": "India"
                        },
                        "DepTime": "2020-05-23T06:20:00"
                    },
                    "Destination": {
                        "Airport": {
                            "AirportCode": "AMD",
                            "AirportName": "Ahmedabad",
                            "Terminal": "1",
                            "CityCode": "AMD",
                            "CityName": "Ahmedabad",
                            "CountryCode": "IN",
                            "CountryName": "India"
                        },
                        "ArrTime": "2020-05-23T07:50:00"
                    },
                    "Duration": 90,
                    "GroundTime": 0,
                    "Mile": 0,
                    "StopOver": false,
                    "FlightInfoIndex": "1",
                    "StopPoint": "",
                    "StopPointArrivalTime": null,
                    "StopPointDepartureTime": null,
                    "Craft": "737",
                    "Remark": null,
                    "IsETicketEligible": true,
                    "FlightStatus": "Confirmed",
                    "Status": "HK"
                }
            ],
            "FareRules": [
                {
                    "Origin": "DEL",
                    "Destination": "AMD",
                    "Airline": "SG",
                    "FareBasisCode": "USAVER",
                    "FareRuleDetail": "",
                    "FareRestriction": "",
                    "FareFamilyCode": "",
                    "FareRuleIndex": ""
                }
            ],
            "Status": 5,
            "Invoice": [
                {
                    "InvoiceCreatedOn": "2020-04-13T19:11:17",
                    "InvoiceId": 1985,
                    "InvoiceNo": "DW/XXXX/XXXX",
                    "InvoiceAmount": 16089,
                    "Remarks": "",
                    "InvoiceStatus": 3
                }
            ],
            "InvoiceAmount": 16089,
            "InvoiceNo": "DW/XXXX/XXXX",
            "InvoiceStatus": 3,
            "InvoiceCreatedOn": "2020-04-13T19:11:17",
            "Remarks": ""
        }
    }
}